/*
 * Copyright (c) 18/5/25 . All Rights Reserved.
 */
package com.cgmnx.admin.web.model.param;

import com.cgmnx.admin.common.util.JacksonMapper;
import lombok.Data;

import java.io.IOException;
import java.util.Date;

/**
 * @author: z Date: 18/5/25 Time: 下午5:00
 * @version: 1.0.0
 */
@Data
public class ReplyQueryParam extends BaseQueryParam {

    private Integer id = 0;

    private String userName;

    private String startDate;

    private String endDate;

    private Integer status  = 0;

    public static void main(String[] args) throws IOException {
        ReplyQueryParam param = new ReplyQueryParam();
        param.setId(0);
        param.setStatus(1);
        param.setPageNum(1);
        param.setPageSize(2);
        param.setEndDate("");
        param.setStartDate("");

        System.out.println(JacksonMapper.encode(param));
    }

}
